Handle updates to version requirements in lockfiles
authorAlex Crichton <alex@alexcrichton.com>
Thu, 27 Nov 2014 23:49:16 +0000 (15:49 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 27 Nov 2014 23:52:32 +0000 (15:52 -0800)
commit493d31086adae4a4b5460c5d48af1da8f6591e48
tree3cce886ef1e1fdff5208002f92c539e6d4970c48
parentd6dbce7d7d83043a65cdd191ef752a603c669905
Handle updates to version requirements in lockfiles

This is the same as the fix for #951 (fixed by #965). The relevant code was
erroneously looking at the source id when it should instead look at the entire
package id (name/version/source).
src/cargo/core/registry.rs
tests/test_cargo_registry.rs